package cn.ldf.keepaccounts.service;

import cn.ldf.keepaccounts.entity.dto.AvatarFileDTO;
import cn.ldf.keepaccounts.entity.pojo.UserFile;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
* @author ldf
* @description 针对表【user_file(用户文件表)】的数据库操作Service
* @createDate 2025-03-01 16:23:05
*/
public interface UserFileService extends IService<UserFile> {

    /**
     * 上传用户收款码
     * @param avatarFileDTO 文件对象
     * @return 结果集
     */
    Boolean uploadPaymentCode(AvatarFileDTO avatarFileDTO);

    List<UserFile> getListPaymentCodeByOpenIds(List<String> openIds);
}
